package com.pig4cloud.pig.village.api.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 性别
 * @author Will Hu
 * @date 2022.3.12
 */
@Getter
public enum Gender {
	FEMALE(0, "女"),
	MALE(1, "男"),;

	Gender(int code, String description) {
		this.code = code;
		this.description = description;
	}

	@EnumValue
	private final int code;
	private final String description;
}
